He has a selective memory when it comes to remembering past mistakes.
У него избирательная память, когда дело касается воспоминаний о прошлых ошибках.
Definitions
Selective memory refers to the cognitive process where an individual recalls certain memories while forgetting others, often influenced by personal biases, emotions, or the relevance of the information to their current situation.